import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  base: './',
  plugins: [vue()],
  resolve: {
    alias: [
      {
        find: "@",
        replacement: "/src"
      }
    ]
  },
  server: {
    host: '0.0.0.0',
    port: 5173,
    hmr: true //热更新
  },
})
